//
//  UIButton+Helper.h
//  ketuitui
//
//  Created by apple on 14-10-25.
//  Copyright (c) 2014年 LAURA. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIButton+Helper.h"
@interface UIButton (Helper)

/*!
 @author 15-01-25 10:01:33

 @brief  Button 快速创建

 @param frame
 @param title
 @param titleColor
 @param font
 @param image
 @param backGroundColor
 @param backGroundImage

 @return UIbutton

 @since 1.0
 */
+(UIButton *) buttonWithFrame: (CGRect) frame
                        title: (NSString *) title
                   titleColor: (UIColor *) titleColor
                    titleFont: (UIFont *) font
                        image: (UIImage *) image
              backGroundColor: (UIColor *) backGroundColor
              backGroundImage: (UIImage *) backGroundImage;

/*!
 @author 15-01-25 10:01:26

 @brief  创建带边框颜色的Button 
        做一个圆角的button 根据title 的长短来设置button 的长短  根据字号大小来设置btton 的高度

 @param frame
 @param titleColor
 @param font
 @param backGoundColor
 @param selectedColor
 @param backGroundImage
 @param borderColor
 @param borderWidth
 @param title

 @return UIButton

 @since 1.0
 */

+(UIButton *) buttonWithFrame: (CGRect) frame
                        title: (NSString *) title
                   titleColor: (UIColor *) titleColor
                    titleFont: (UIFont *) font
              backGroundColor: (UIColor *) backGoundColor
               backGoundImage: (UIImage *) backGroundImage
                selectedColor: (UIColor *) selectedColor
                  borderColor: (UIColor *) borderColor
                  borderwidth: (CGFloat) borderWidth;

/*!
 @author 15-01-25 10:01:26

 @brief  创建带边框颜色的Button
        做一个圆角的button 根据title 的长短来设置button 的长短  根据字号大小来设置btton 的高度

 @param frame
 @param titleColor
 @param font
 @param backGoundColor
 @param selectedColor
 @param backGroundImage
 @param borderColor
 @param borderWidth
 @param title

 @return UIButton

 @since 1.0
 */

+(UIButton *) buttonWithFrame: (CGRect) frame
                        title: (NSString *) title
                   titleColor: (UIColor *) titleColor
                    titleFont: (UIFont *) font
                        image: (UIImage *) image
              backGroundColor: (UIColor *) backGoundColor
               backGoundImage: (UIImage *) backGroundImage
                selectedColor: (UIColor *) selectedColor
                  borderColor: (UIColor *) borderColor
                  borderwidth: (CGFloat) borderWidth;

/*!
 @author 15-01-25 10:01:59

 @brief  添加Button

 @param frame
 @param imageName
 @param backGroundColor
 @param borderColor
 @param borderWidth

 @return UIButton

 @since 1.0
 */
+(UIButton *) buttonWithFrame: (CGRect) frame
              centerImageName: (NSString *) imageName
              backGroundColor: (UIColor *) backGroundColor
                  borderColor: (UIColor *) borderColor
                  borderWidth: (CGFloat) borderWidth;

//button 的title 放在图片底下
+(UIButton *) buttonWithFrame: (CGRect) frame
                    imageName: (NSString *) imageName
                        title: (NSString *) title
                    TitleFont: (int) font
                    textColor: (UIColor *) color;

//两个色值 正常和高亮
+(UIButton *) buttonWithFrame: (CGRect) frame color: (UIColor *) normalColor highlightColor: (UIColor *) highlightColor cornerRadius: (CGFloat) cornerRadius titleFont: (int) font titleColor: (UIColor *) titleColor Title: (NSString *) title;

@end
